projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eaa5ff
)
csd: Make link activation work reliably
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 21 Mar 2013 17:39:06 +0000
(13:39 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 21 Mar 2013 22:07:21 +0000
(18:07 -0400)
The label code was just letting some button press events bubble
up, which caused misbehaviour with the window dragging code.
https://bugzilla.gnome.org/show_bug.cgi?id=695506
gtk/gtklabel.c
patch
|
blob
|
history
diff --git
a/gtk/gtklabel.c
b/gtk/gtklabel.c
index 587a61f9ce32373d152ef55f9af0def2f35f5908..20d2c2e1cf012c24b4b34efa535180ea2bd0801d 100644
(file)
--- a/
gtk/gtklabel.c
+++ b/
gtk/gtklabel.c
@@
-4597,6
+4597,8
@@
gtk_label_button_press (GtkWidget *widget,
{
info->link_clicked = 1;
gtk_widget_queue_draw (widget);
+ if (!info->selectable)
+ return TRUE;
}
}